package s2elinshu;

public class J12Account {

	public static void main(String[] args) {

		Account a = new Account();
		a.aid = "123-123-123";
		a.balance = 35000;
		a.dateCreated = "2014/01/01";
		a.deposit = 3000;
		a.withDraw = 5000;
		a.interestRate = 4.5;
		
		System.out.println(a.aid);
		System.out.println(a.balance);
		System.out.println(a.dateCreated);
		System.out.println(a.deposit);
		System.out.println(a.withDraw);
		System.out.println(a.interestRate);
		System.out.println(a.getMonthlyInterestRate());
		
	}  //main 닫음
} // J12Account class 닫음

class Account{
	String aid;
	String dateCreated;
	int balance;	
	int withDraw;
	int deposit;
	double interestRate;
	double monthlyInterestRate;
	
	public double getMonthlyInterestRate(){
		return (interestRate/12);
	}
	
}

